Skip to content

Upgrate Ring testcases#263

Merged
hackfisher merged 2 commits intodarwinia-network:developfrom
yanganto:test/ring
Feb 15, 2020
Merged

Upgrate Ring testcases#263
hackfisher merged 2 commits intodarwinia-network:developfrom
yanganto:test/ring

Conversation

@yanganto
Copy link
Copy Markdown
Contributor

  • fix the 42 test cases of Ring pallet
  • remove test case with extend_lock in Ring pallet
  • base on Hotfox/fix ci #260

@yanganto
Copy link
Copy Markdown
Contributor Author

The result of test cases of Ring pallet

running 42 tests
test tests::account_create_on_free_too_low ... ok
test tests::account_create_on_free_too_low_with_other ... ok
test tests::account_removal_on_free_too_low ... ok
test tests::balance_transfer_when_reserved_should_not_work ... ok
test tests::balance_transfer_works ... ok
test tests::burn_must_work ... ok
test tests::cannot_set_genesis_value_below_ed ... ok
test tests::balance_works ... ok
test tests::basic_locking_should_work ... ok
test tests::deducting_balance_should_work ... ok
test tests::combination_locking_should_work ... ok
test tests::check_vesting_status ... ok
test tests::default_indexing_on_new_accounts_should_not_work2 ... ok
test tests::double_locking_should_work ... ok
test tests::dust_account_removal_should_work2 ... ok
test tests::dust_account_removal_should_work ... ok
test tests::force_transfer_works ... ok
test tests::liquid_funds_should_transfer_with_delayed_vesting ... ok
test tests::extra_balance_should_transfer ... ok
test tests::lock_removal_should_work ... ok
test tests::lock_block_number_should_work ... ok
test tests::lock_replacement_should_work ... ok
test tests::refunding_balance_should_work ... ok
test tests::dust_moves_between_free_and_reserved ... ok
test tests::partial_locking_should_work ... ok
test tests::reserving_balance_should_work ... ok
test tests::lock_reasons_should_work ... ok
test tests::reward_should_work ... ok
test tests::slashing_balance_should_work ... ok
test tests::slashing_incomplete_balance_should_work ... ok
test tests::reserved_balance_should_prevent_reclaim_count ... ok
test tests::transfer_overflow_isnt_exploitable ... ok
test tests::slashing_reserved_balance_should_work ... ok
test tests::slashing_incomplete_reserved_balance_should_work ... ok
test tests::transfer_keep_alive_works ... ok
test tests::transferring_too_high_value_should_not_panic ... ok
test tests::transferring_reserved_balance_should_work ... ok
test tests::unreserving_balance_should_work ... ok
test tests::transferring_reserved_balance_to_nonexistent_should_fail ... ok
test tests::transferring_incomplete_reserved_balance_should_work ... ok
test tests::vested_balance_should_transfer ... ok
test tests::unvested_balance_should_not_transfer ... ok

test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

   Doc-tests darwinia-ring

running 2 tests
test src/lib.rs -  (line 109) ... ok
test src/lib.rs -  (line 123) ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

- fix ring 42 test cases
- rm test case with extend_lock in Ring pallet
@yanganto
Copy link
Copy Markdown
Contributor Author

Rebase develop

@yanganto
Copy link
Copy Markdown
Contributor Author

remove cache and everything is good and quick.

@hackfisher hackfisher merged commit 95518ea into darwinia-network:develop Feb 15, 2020
@yanganto yanganto deleted the test/ring branch March 26, 2020 03:33
boundless-forest added a commit that referenced this pull request Aug 1, 2023
* Update peer_count return type

* Fix ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants